From 624ef3589113d5c4eb69f813b9c35443789c2e0a Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 17 Feb 2024 21:55:54 -0800
Subject: feat(locale): localise user preferences

---
 src/routes/user/[user]/+page.svelte | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'src/routes/user/[user]/+page.svelte')

diff --git a/src/routes/user/[user]/+page.svelte b/src/routes/user/[user]/+page.svelte
index c93647f4..910a99e2 100644
--- a/src/routes/user/[user]/+page.svelte
+++ b/src/routes/user/[user]/+page.svelte
@@ -11,6 +11,7 @@
 	import tooltip from '$lib/Tooltip/tooltip.js';
 	import AnimeRateLimited from '$lib/Error/AnimeRateLimited.svelte';
 	import identity from '$stores/identity';
+	import SettingHint from '$lib/Settings/SettingHint.svelte';
 
 	export let data;
 
@@ -128,7 +129,7 @@
 				<p />
 
 				<details open>
-					<summary>User Preferences</summary>
+					<summary>{$locale().user.preferences.title}</summary>
 
 					<input
 						type="checkbox"
@@ -139,7 +140,9 @@
 								});
 						}}
 						checked={preferences.hide_missing_badges}
-					/> Hide missing badges from Badge Wall
+					/>
+					{$locale().user.preferences.hideMissingBadges.title}
+					<SettingHint lineBreak>{$locale().user.preferences.hideMissingBadges.hint}</SettingHint>
 				</details>
 			{/await}
 		{/await}
-- 
cgit v1.2.3

